#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)

#include <iostream>
using std::cout;
using std::endl;

class Base
{
public:
	//Base()
	//{
	//	cout << "Base()" << endl;
	//}

	//Base(int a)
	//{
	//	cout << "Base(int a)" << endl;
	//}

	//Base(Base& X)
	//{
	//	cout << "Base(&)" << endl;
	//}

	void Print()
	{
		cout << "Print" << endl;
	}

};

int main()
{
	void (Base::*p)() = &Base::Print;
	Base b1;
	(b1.*p)();

	//Base b1;
	//Base b2(Base());

	return 0;
}


//#include "test.h"
//#include "test.h"
//
//int main()
//{
//	cout << Add(1, 2) << endl;
//	return 0;
//}